package org.dromara.common.core.dto.home;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author leifengyang
 * @version 1.0
 * @date 2025/9/17 15:34
 * @description:
 */
@Data
public class HomeDramaInfoDTO {

    private String cover;
    private String title;
    private Integer viewCount;
    private Integer likeCount;
    private List<ActorsDTO> actors;
    private String description;
    private Integer totalEpisodes;

//    private List<EpisodesDTO> videos;

    @NoArgsConstructor
    @Data
    public static class ActorsDTO {
        private String name;
        private String role;
        private String avatar;
    }
    @NoArgsConstructor
    @Data
    public static class EpisodesDTO {
        private String cid;
        private String episode;
        private String title;
        private String dramaTitle;
        private String description;
        private String duration;
        private Integer likeCount;
        private Integer favoriteCount;
        private Integer viewCount;
        private Integer commentCount;
        private Boolean isLiked;
        private Boolean isFavorited;
        private String status;
        private Boolean isVip;
        private String releaseDate;
        private String dramaId;
        private Integer progress;
        private String lastWatchTime;
        private Double rating;
        private Integer ratingCount;
        private Boolean isWatched;
        private Boolean isCurrentWatch;
        private String cover;
        private Object videoUrl;
    }

}
